<?php

include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once (__DIR__.'/AlibabaProductPtsTagQueryParam/ComAlibabaOceanOpenplatformBizPtsResultPtsStepModel.class.php');

class ComAlibabaOceanOpenplatformBizPtsResultScenePtsOfferStepModel extends SDKDomain {

       	
    private $scene;
    
        /**
    * @return 场景，dsc(大市场),fenxiao(分销),jgdz(加工定制)
    */
        public function getScene() {
        return $this->scene;
    }
    
    /**
     * 设置场景，dsc(大市场),fenxiao(分销),jgdz(加工定制)     
     * @param String $scene     
     * 参数示例：<pre>dsc</pre>     
     * 此参数必填     */
    public function setScene( $scene) {
        $this->scene = $scene;
    }
    
        	
    private $ptsStepModels;
    
        /**
    * @return 买保服务阶梯设置模型
    */
        public function getPtsStepModels() {
        return $this->ptsStepModels;
    }
    
    /**
     * 设置买保服务阶梯设置模型     
     * @param array include @see ComAlibabaOceanOpenplatformBizPtsResultPtsStepModel[] $ptsStepModels     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setPtsStepModels(ComAlibabaOceanOpenplatformBizPtsResultPtsStepModel $ptsStepModels) {
        $this->ptsStepModels = $ptsStepModels;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "scene", $this->stdResult )) {
    				$this->scene = $this->stdResult->{"scene"};
    			}
    			    		    				    			    			if (array_key_exists ( "ptsStepModels", $this->stdResult )) {
    			$ptsStepModelsResult=$this->stdResult->{"ptsStepModels"};
    				$object = json_decode ( json_encode ( $ptsStepModelsResult ), true );
					$this->ptsStepModels = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$ComAlibabaOceanOpenplatformBizPtsResultPtsStepModelResult=new ComAlibabaOceanOpenplatformBizPtsResultPtsStepModel();
						$ComAlibabaOceanOpenplatformBizPtsResultPtsStepModelResult->setArrayResult($arrayobject );
						$this->ptsStepModels [$i] = $ComAlibabaOceanOpenplatformBizPtsResultPtsStepModelResult;
					}
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "scene", $this->arrayResult )) {
    			$this->scene = $arrayResult['scene'];
    			}
    		    	    			    		    		if (array_key_exists ( "ptsStepModels", $this->arrayResult )) {
    		$ptsStepModelsResult=$arrayResult['ptsStepModels'];
    			$this->ptsStepModels = new ComAlibabaOceanOpenplatformBizPtsResultPtsStepModel();
    			$this->ptsStepModels->setStdResult ( $ptsStepModelsResult);
    		}
    		    	    		}
 
   
}
?>